<!DOCTYPE HTML>
<html>
<head>
    <include file="Public/head" />
<title>管理员列表</title>
</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 生产成本统计 <span class="c-gray en">&gt;</span> 生产计划单 <a class="btn btn-success radius r mr-20" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="pd-20">

	<div class="cl pd-5 bg-1 bk-gray mt-20">
		<form class="formleft" name="" id="" action="__URL__/planlist/" method="get">
			<span class="select-box" style="width:150px">
				<select class="select" id="selval" name="selval">
					<option value="1">生产计划单编号</option>
					<option value="2">审核人</option>
				</select>
			</span>
			<input class="input-text" style="width:200px" type="text" value="{$_GET['keywords']}" placeholder="输入查询关键词" name="keywords" datatype="*" nullmsg="请填写搜索词">
			<button type="submit" class="btn btn-success"><i class="icon-plus"></i> 查询</button>	  

		</form>
		<span class="r">共有数据：<strong>{$count}</strong> 条</span> 
    </div>
	
	<table class="table table-border table-bordered table-bg">
		<thead>
			<tr>
				<th scope="col" colspan="12">生产计划单列表</th>
			</tr>
			<tr class="text-c">
				<th width="25"><input type="checkbox" name="" value=""></th>
				<th width="80">生产计划单编号</th>
				<th width="">申请部门</th>
				<th width="">审核人</th>
				<th width="">产品名称</th>
				<th width="">规格(g)</th>
				<th width="">数量</th>
				<!-- <th width="">销售成本价格</th> -->
				<th width="">添加时间</th>
				<th width="100">操作</th>
			</tr>
		</thead>
		<tbody>
			<volist name="list" id="vo">
			<tr class="text-c">
				<td><input type="checkbox" value="{$vo.id}" name="ids[]"></td>
				<td>{$vo.purchasing_no}</td>
				<td>{$vo.section}</td>
				<td><if condition="$vo.examined_status eq 0" >暂无<else />{$vo.auditor}</if></td>
				<td>{$vo.pro_name}</td>
				<td>{$vo.pro_spec}</td>
				<td>{$vo.pro_num}</td>
				<!-- <td>
				<if condition="$vo.sell_price eq 0">
					未定义
				<else />
					{$vo.sell_price}
				</if>
				</td> -->
				<td>{$vo.add_time|date="Y-m-d H:i:s",###}</td>
				<td class="td-manage">
				<if condition="$vo.inbound_price eq 0">
					<a title="编辑" href="{:U('edit_procost',array('id'=>$vo['id']))}"  class="ml-5" style="text-decoration:none">编辑</a>
				<else />
					<a title="已编辑" href="{:U('edit_procost',array('id'=>$vo['id']))}" class="ml-5" style="text-decoration:none">已编辑</a>
				
				</if>
					
				</td>
			</tr>
			</volist>	
			
		</tbody>
	</table>
	<div class="pages mt" style="text-align:right">{$page}</div>
</div>
</body>
</html>